/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package isd.inventario.dao;

import isd.general.dao.BaseDAO;
import isd.inventario.modelo.ST_ComposicionFormula;
import isd.inventario.modelo.ST_ComprosicionFormulaPK;
import javax.ejb.Stateless;

/**
 *
 * @author Claudio
 */
@Stateless
public class ST_ComposicionFormulaDAO extends BaseDAO {

    public ST_ComposicionFormula getComposicionFormula(ST_ComprosicionFormulaPK idPK){

        try {
            return em.find(ST_ComposicionFormula.class, idPK);
        } catch (Exception e) {
            e.printStackTrace();
            return null;
        }
    }
    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
 
}
